package com.example.taximeter.service;

import com.example.taximeter.bean.Fact;
import com.example.taximeter.bean.ReturnInfo;

import java.util.List;

public interface FactService {

    List<Fact> findFactList();

    ReturnInfo findFactAll(Integer pageNum, Integer pageSize, Fact fact);

    String addFact(Fact fact);

    String updateFact(Fact fact);

    String deleteFact(Integer id);

    String findFactnameByFactid(Integer id);
}
